package com.cxx.food.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cxx.food.dto.*;

import java.util.List;

public interface MomentService {
    Boolean addMoment(MomentDto momentDto);

    Boolean updateMoment(Long id, MomentDto momentDto);

    Boolean deleteMoment(Long id);

    List<MomentDto> queryMomentList();

    IPage<MomentDto> queryMomentByPage(int currentPage, int pageSize);

    List<MomentDto> queryMomentById(Long id);

    Boolean addComment(Long momentId, String content);

    Boolean addLike(Long momentId);

    Boolean deleteLike(Long momentId);
}
